module OrdersHelper
  

  def format_paytype(paytype)
    (Order::PAYTYPE.find {|s| s[1] == paytype})[0]
  end

  def format_shipping_type(shipping_type)
    (Order:: SHIPPING_TYPE.find {|s| s[1] == shipping_type})[0]
  end
end
